import { applyMiddleware, createStore } from "redux"
import reducer from "../Navigator/store/index"
import { middleware } from "../Navigator/AppNavigator"
const middlewares = [middleware]

const store = createStore(reducer, applyMiddleware(...middlewares))
export default store